<template>
	<!-- 添加评论 -->
	<view class="u-modal">
		<u-modal :show="modelPop.show" :title="modelPop.title" @confirm="commentConfirm" @cancel="commentCancel"
			:showCancelButton="true">
			<u--textarea v-model="commentConten.content" placeholder="说说你的看法~" border="surround"></u--textarea>
		</u-modal>
	</view>
</template>

<script setup>
	import {
		ref,
		defineEmits 
	} from 'vue'
	const modelPop = ref({
		show: false,
		title: '评论',

	})

	const commentConten = ref({
		content: ''
	})
	//评论确定
	const commentConfirm = (() => {

	})
	//评论取消
	const commentCancel = (() => {
		modelPop.value.show = false
	})
</script>

<style lang="scss" scoped>

</style>